import request from '@/utils/request'

// 封装一个获得联想词汇的接口
export const suggest = (params) => {

    return request({
        url: '/v1_0/suggestion',
        params
    })
}

// 封装一个获得搜索结果页面的接口
export const getSearchResult  = (params) => {

    return request({
        url: '/v1_0/search',
        params
    })
}